//
//  ViewController.m
//  SXCircleTempViewDemo
//
//  Created by Ganide on 2019/4/25.
//  Copyright © 2019年 Ganide. All rights reserved.
//

#import "ViewController.h"
#import "SXCircleTempView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    CGFloat circelHeight = 220;
    SXCircleTempView *circleTempView = [[SXCircleTempView alloc] initWithFrame:CGRectMake(([UIScreen mainScreen].bounds.size.width - circelHeight)/2.0, 100, circelHeight, circelHeight)];
    
    circleTempView.backgroundColor = [UIColor clearColor];
    circleTempView.circelTempSetTempBlock = ^(NSInteger selectValue) {
        NSLog(@"%ld",selectValue);
    };
    circleTempView.totalValue = 200;
    circleTempView.circlyValue = 40;
    circleTempView.cellValue = 0.5;
    
    self.view.backgroundColor = [UIColor blueColor];
    [self.view addSubview:circleTempView];
   // [self.view]
}


@end
